"""
--------------------------------------------------------
@File             : EdgeGateTool.py
@Creat Time       : 2021-04-13
@Author           : wangzp
@Site             : 
@Software         : PyCharm
@file Conent      : 工具类
--------------------------------------------------------
@Revise history   :
@Version          : V12
@Amendant records :
     1)wangzp  2021/04/13
"""

import EdgeGateData
import time


# 清除元组列表中的ip地址
def clearUselessSocketTuple(ip):
    for item in EdgeGateData.gServerAcceptSocketTupleList[:]:
        if item[1][0] == ip:
            EdgeGateData.gServerAcceptSocketTupleList.remove(item)
        else:
            pass


if __name__ == '__main__':
    pass
